home *** CD-ROM | disk | FTP | other *** search
- on buttonClick theSprite
- repeat while the mouseDown
- if rollOver(the clickOn) then
- if the visible of sprite theSprite = 0 then
- set the visible of sprite theSprite to 1
- updateStage()
- end if
- next repeat
- end if
- if the visible of sprite theSprite = 1 then
- set the visible of sprite theSprite to 0
- updateStage()
- end if
- end repeat
- if rollOver(the clickOn) then
- return 1
- else
- return 0
- end if
- end
-
- on syncIt theTicks
- startTimer()
- repeat while the timer < theTicks
- nothing()
- end repeat
- end
-